package com.marvels.approve.manager.dao;

import java.util.List;

import com.marvels.approve.manager.dto.OpinionTypeDTO;
import com.marvels.common.exception.MarvelsBusinessException;

public interface IOpinionTypeDao {
	/**新增
	 * @param caseManager
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public int insert(OpinionTypeDTO opinionType)throws MarvelsBusinessException;
	
	/**更新
	 * @param CaseManagerVersionVersion
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public int updateByPrimaryKeySelective(OpinionTypeDTO opinionType)throws MarvelsBusinessException;
	/**通过主键ID
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public OpinionTypeDTO selectByPrimaryKey(Long id)throws MarvelsBusinessException;
	/**查询多条数据
	 * @param params
	 * @return
	 * @throws Exception
	 */
	public List<OpinionTypeDTO> select(OpinionTypeDTO opinionTypeDTO)throws MarvelsBusinessException;

}
